package com.sbl.bajw.scheduler;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import com.sbl.bajw.mapper.StatisticsDao;
import com.sbl.bajw.util.LogUtil;

@Service
public class StatisticsJob {
	
	@Resource
	private StatisticsDao dao;
	
	static Logger log;
	
	static{
		log = LogUtil.getLogger("statistics");
	}
	
	public void ReCameraHouseStatistics(){
		dao.ClearCameraStatistics();
		dao.ReCameraStatistics();
		dao.ClearCameraHouseStatistics();
		dao.ReCameraHouseStatistics();
	}
	
}
